<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>实验室设备管理系统</title>
  <link rel="stylesheet" href="../../static/layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">实验室设备管理系统</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item" ><a href="all/equipments" target="option">设备列表</a></li>
      <li class="layui-nav-item"><a href="my-apply-record" target="option">我的预约</a></li>
      <li class="layui-nav-item"><a href="drug-check" target="option">药品入库或使用登记</a></li>
      <li class="layui-nav-item"><a href="my-drug-check" target="option">我的登记</a></li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img">{{user.userName}}
        </a>
        <dl class="layui-nav-child">
          <dd><a href="/account/setting/{{user.userNum}}">基本资料</a></dd>
          <dd><a href="/account/security/{{user.userNum}}">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="/">退出登录</a></li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">设备类别</a>
          <dl class="layui-nav-child">
              {% for type in types %}
              <dd><a href="{{type.1}}/equipments" target="option">{{type.1}}</a></dd>
              {% endfor %}
            </dl>
        </li>
      </ul>
    </div>
  </div>

  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding:5px;"><iframe id="option" name="option" src="all/equipments" style="overflow: visible;" scrolling="no" frameborder="no" width="100%" height="100%" onload="this.height=this.contentWindow.document.documentElement.scrollHeight"></iframe></div>

  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
  </div>
</div>
</div>
<script src="../../static/layui/layui.js"></script>
</body>
</html>